package ocl;

import metamodels.ArgumentList;

public class ArrayOclExpression extends OclExpression {

	OclExpression exp;
	ArgumentList list;
	
	public ArrayOclExpression(OclExpression oclExpression,
			ArgumentList argumentList) {
		exp = oclExpression;
		list = argumentList;
	}

	@Override
	public String toK() {
		return exp.toK() + "[" + list + "]";
	}

	
}
